package main

import (
	"fmt"
)

type Weekday int

const (
	Sun Weekday = iota
	Mon
	Tue
)

func testWeekday(w Weekday) {
	fmt.Println("星期幾=", w)
}
func main() {

	fmt.Println(Sun)
	testWeekday(Sun)
	testWeekday(Mon)
	testWeekday(Tue)

}
